﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="_1_5.web.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
             <asp:ListItem Value=".\image\cat.jpg">小猫</asp:ListItem>
            <asp:ListItem Value=".\image\dog.jpg">小狗</asp:ListItem>
            </asp:DropDownList>
            <p><asp:Image ID="Image1" runat="server" Height="719px" Width="720px" ImageUrl="~/image/cat.jpg" /></p>
        </div>
    </form>
</body>
</html>
